/* 歌曲页面样式 */

/* 歌曲头部区域 */
.track-header {
    display: flex;
    padding: 32px;
    position: relative;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.track-cover {
    width: 232px;
    height: 232px;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
    margin-right: 24px;
    position: relative;
}

#track-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
}

.track-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.track-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.track-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.1;
}

.track-meta {
    font-size: 14px;
    color: #b3b3b3;
}

.track-artist {
    display: flex;
    align-items: center;
}

.artist-thumbnail {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.artist-name, .album-name {
    color: white;
    font-weight: 700;
}

.artist-name:hover, .album-name:hover {
    text-decoration: underline;
}

/* 歌曲内容容器 */
.track-container {
    padding: 0 30px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 歌曲操作按钮 */
.track-actions {
    padding: 24px 32px;
    display: flex;
    align-items: center;
}

.large-play-btn {
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 32px;
    background-color: #1DB954;
    color: white;
    font-weight: 700;
    margin-right: 24px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.large-play-btn i {
    margin-right: 8px;
}

.large-play-btn:hover {
    transform: scale(1.05);
    background-color: #1ed760;
}

.track-actions .icon-button {
    width: 32px;
    height: 32px;
    font-size: 16px;
    color: #b3b3b3;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.track-actions .icon-button:hover {
    color: white;
}

.like-btn, .download-btn {
    background-color: transparent;
    border: none;
    color: #b3b3b3;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-btn:hover, .download-btn:hover {
    color: #fff;
    transform: scale(1.05);
}

.like-btn.active i {
    color: #1DB954;
}

.more-actions {
    margin-left: auto;
}

.more-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 歌词部分样式 */
.lyrics-section {
    margin-bottom: 48px;
}

.lyrics-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.lyrics-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 8px;
}

.lyrics {
    font-size: 16px;
    line-height: 1.8;
    color: #b3b3b3;
}

.lyric-line {
    margin-bottom: 8px;
    transition: color 0.3s;
}

.lyric-line.active {
    color: white;
    font-weight: 700;
}

/* 专辑信息部分 */
.album-info-section {
    margin-bottom: 32px;
}

.album-info-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.album-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.album-thumbnail {
    position: relative;
    margin-bottom: 16px;
}

.album-thumbnail img {
    width: 100%;
    border-radius: 4px;
}

.album-thumbnail .play-button {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    background-color: #1DB954;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
}

.album-thumbnail:hover .play-button {
    opacity: 1;
    transform: translateY(0);
}

.album-details h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.album-details p {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 16px;
}

.view-album-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.view-album-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 艺术家信息部分 */
.artist-info-section {
    margin-bottom: 32px;
}

.artist-info-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.artist-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.artist-avatar {
    position: relative;
    margin-bottom: 16px;
}

.artist-avatar img {
    width: 100%;
    border-radius: 4px;
}

.artist-avatar .play-button {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    background-color: #1DB954;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
}

.artist-avatar:hover .play-button {
    opacity: 1;
    transform: translateY(0);
}

.artist-details h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.artist-details p {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 16px;
}

.view-artist-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.view-artist-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 版权信息 */
.copyright-section {
    margin-bottom: 32px;
}

.copyright-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.copyright-info {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #b3b3b3;
}

.copyright-info p {
    margin-bottom: 8px;
}

.copyright-info strong {
    color: #ffffff;
    font-weight: 600;
}

/* 相似歌曲部分 */
.similar-tracks-section {
    padding: 32px;
    margin-top: 48px;
}

.similar-tracks-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.similar-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.track-item.horizontal {
    display: flex;
    align-items: center;
    background-color: rgba(24, 24, 24, 0.7);
    border-radius: 4px;
    padding: 8px;
    transition: background-color 0.3s ease;
}

.track-item.horizontal:hover {
    background-color: rgba(40, 40, 40, 0.7);
}

.track-item .track-number {
    width: 24px;
    text-align: center;
    color: #b3b3b3;
    font-size: 14px;
}

.track-item .track-cover {
    width: 40px;
    height: 40px;
    margin: 0 12px;
}

.track-item .track-cover img {
    border-radius: 4px;
}

.track-item .track-details {
    flex: 1;
    margin-right: 12px;
    overflow: hidden;
}

.track-item .track-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item .track-artist {
    font-size: 12px;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item .track-duration {
    color: #b3b3b3;
    font-size: 14px;
    text-align: right;
    min-width: 40px;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .track-details-container {
        flex-direction: column;
    }

    .track-sidebar {
        width: 100%;
        margin-top: 24px;
    }

    .album-info-section, .artist-info-section, .copyright-section {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .track-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .track-cover {
        margin-right: 0;
        margin-bottom: 24px;
    }

    .track-title {
        font-size: 32px;
    }

    .track-artist {
        justify-content: center;
    }

    .track-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .track-cover {
        width: 180px;
        height: 180px;
    }

    .large-play-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .lyrics-container {
        padding: 16px;
    }

    .lyrics {
        font-size: 14px;
    }
} 